package com.chub.study.modules.service;

import com.chub.study.modules.entity.TClassInfo;
import com.chub.study.modules.entity.TDictInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * <p>
 * 字典信息表 服务类
 * </p>
 *
 * @author Chub
 * @since 2023-04-13
 */
public interface TDictInfoService extends IService<TDictInfo> {
    Map<String, List<TDictInfo>> getBydictTypeCodes(Set<String> dictTypeCodes)  ;

    /**
     * @description : 批量插入
     *
     * @param  : dictInfos
     * @return : int
     * @author : chub
     * @date   : 2023-10-16 15:43
     */
    int batchInsert(@RequestBody List<TDictInfo> dictInfos) ;

    int insertBatchSomeColumn(@RequestBody Collection<TDictInfo> dictInfos) ;


}
